<template>
	<view class="content">
		<image class="logo" :src="staticUrl + '/image/mine/aboutUs/img_logo.png'" mode=""></image>
		<view class="listView">
			<view class="item MT70">
				<text>公司名称</text>
				<text>江苏易爱健康科技有限公司</text>
			</view>
			<view class="item MT60" @click="toOfficialWeb()">
				<text>官方网站</text>
				<text style="font-family: Roboto;font-weight: 400;color: #0659C7;" v-text="web"></text>
			</view>
			<view class="item MT60" @click="toPhoneCall()">
				<text>客服电话</text>
				<text style="font-family: Roboto;font-weight: 400;color: #0659C7;" v-text="phone"></text>
			</view>
			<view class="item MT60 MB70" @click="toServiceProtocol()">
				<text>服务协议</text>
				<image style="width: 17rpx;height: 32rpx;" :src="staticUrl + '/image/mine/icon_arrow.png'"></image>
			</view>
			<view class="item MT60 MB70" @click="toRelevantQualif()">
				<text>相关资质</text>
				<image style="width: 17rpx;height: 32rpx;" :src="staticUrl + '/image/mine/icon_arrow.png'"></image>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				staticUrl:this.$config.StaticUrl,
				web:'www.jseihc.com',
				phone:'025-58177188', //
			}
		},
		methods: {
			// 官网
			toOfficialWeb() {
				console.log('1234');
				// plus.runtime.openURL('http://www.jseihc.com');
				uni.navigateTo({
					url:'webView?index=3'
				})
			},
			toPhoneCall(e){
				uni.makePhoneCall({
					phoneNumber:this.phone,
					success(res) {
						console.log('success'+res);
					},fail(res) {
						console.log('faiil'+res);
					}
				})
			},
			// 服务协议
			toServiceProtocol(){
				uni.navigateTo({
					url:'serviceProtocol/serviceProtocol'
				})
			},
			// 相关资质
			toRelevantQualif(){
				console.log('234');
				uni.navigateTo({
					url:'businessLicense/businessLicense'
				})
			},
		}
	}
</script>

<style>
	page {
		background-color: #FAFAFA;
	}

	.content {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
	}

	.MT70 {
		margin-top: 70rpx;
	}

	.MB70 {
		margin-bottom: 70rpx;
	}

	.MT60 {
		margin-top: 60rpx;
	}

	.logo {
		margin-top: 100rpx;
		width: 222rpx;
		height: 257rpx;
	}

	.listView {
		margin-top: 81rpx;
		width: 700rpx;
		height: auto;
		border-radius: 15px;
		background-color: #FFFFFF;
	}

	.item {
		margin-left: 50rpx;
		margin-right: 50rpx;
		display: flex;
		align-items: center;
		justify-content: space-between;
	}

	text {
		font-size: 32rpx;
		font-family: Source Han Sans CN;
		font-weight: bold;
		color: #202020;
	}
</style>
